<!DOCTYPE >
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>基本设置</title>

  <link rel="stylesheet" type="text/css" href="/system/css/right.css">
  <script type="text/javascript" src="/system/js/jquery.js"></script>
  <script type="text/javascript" src="/system/js/system.js"></script>
  <script type="text/javascript" src="/system/js/admin.js"></script>


</head>
<body style="overflow: auto;">
	<div class="basic bor">
			<div class="title fl">当前位置：加盟商管理 > 添加会员</div>
			<div class="basic_r fr"><a href="">基本信息</a></div>
	</div>
	<div class="notice">
			<div class="n_title">
				<span class="fl">添加会员</span>

			</div>
			<div class="ncontent">
				<form action="" method="post" enctype="multipart/form-data" >
					<div class="setting">

						<ul>

							<li>
								<dd class="setting_t fl"><span>*</span>订单号 ：</dd>
								<dd class="setting_p fl"><input class="seinp" type="text" name="title" value="">
									<!-- <span>产品名称不能为空</span> -->
								</dd>
							</li>

							<li>
								<dd class="setting_t fl"><span>*</span>交易流水号 ：</dd>
								<dd class="setting_p fl"><input class="seinp" type="text" name="title" value="">
									<!-- <span>产品名称不能为空</span> -->
								</dd>
							</li>

							<li>
								<dd class="setting_t fl"><span>*</span>购买会员id ：</dd>
								<dd class="setting_p fl"><input class="seinp" type="text" name="title" value="">
									<!-- <span>产品名称不能为空</span> -->
								</dd>
							</li>

							<li>
								<dd class="setting_t fl"><span>*</span>销售id ：</dd>
								<dd class="setting_p fl"><input class="seinp" type="text" name="title" value="">
									<!-- <span>产品名称不能为空</span> -->
								</dd>
							</li>

							<li>
								<dd class="setting_t fl"><span>*</span>产品id ：</dd>
								<dd class="setting_p fl"><input class="seinp" type="text" name="title" value="">
									<!-- <span>产品名称不能为空</span> -->
								</dd>
							</li>

							<li>
								<dd class="setting_t fl"><span>*</span>产品图片 ：</dd>
								<dd class="setting_p fl"><input class="seinp" type="text" name="title" value="">
									<!-- <span>产品名称不能为空</span> -->
								</dd>
							</li>

							<li>
								<dd class="setting_t fl"><span>*</span>产品单价 ：</dd>
								<dd class="setting_p fl"><input class="seinp" type="text" name="title" value="">
									<!-- <span>产品名称不能为空</span> -->
								</dd>
							</li>

							<li>
								<dd class="setting_t fl"><span>*</span>购买数量 ：</dd>
								<dd class="setting_p fl"><input class="seinp" type="text" name="title" value="">
									<!-- <span>产品名称不能为空</span> -->
								</dd>
							</li>

							<li>
								<dd class="setting_t fl"><span>*</span>支付时间 ：</dd>
								<dd class="setting_p fl"><input class="seinp" type="text" name="title" value="">
									<!-- <span>产品名称不能为空</span> -->
								</dd>
							</li>

							<li>
								<dd class="setting_t fl"><span>*</span>订单状态 ：</dd>
								<dd class="setting_p fl"><input class="seinp" type="text" name="title" value="">
									<!-- <span>产品名称不能为空</span> -->
								</dd>
							</li>

							<li>
								<dd class="setting_t fl"><span>*</span>订单折扣 ：</dd>
								<dd class="setting_p fl"><input class="seinp" type="text" name="title" value="">
									<!-- <span>产品名称不能为空</span> -->
								</dd>
							</li>

							<li>
								<dd class="setting_t fl"><span>*</span>实际支付金额 ：</dd>
								<dd class="setting_p fl"><input class="seinp" type="text" name="title" value="">
									<!-- <span>产品名称不能为空</span> -->
								</dd>
							</li>

							<li>
								<dd class="setting_t fl"><span>*</span>店铺id ：</dd>
								<dd class="setting_p fl"><input class="seinp" type="text" name="title" value="">
									<!-- <span>产品名称不能为空</span> -->
								</dd>
							</li>

							<li>
								<dd class="setting_t fl"><span>*</span>下单的详细地址 ：</dd>
								<dd class="setting_p fl"><input class="seinp" type="text" name="title" value="">
									<!-- <span>产品名称不能为空</span> -->
								</dd>
							</li>

							<li>
								<dd class="setting_t fl"><span>*</span>手机号码 ：</dd>
								<dd class="setting_p fl"><input class="seinp" type="text" name="title" value="">
									<!-- <span>产品名称不能为空</span> -->
								</dd>
							</li>

							<li>
								<dd class="setting_t fl"><span>*</span>下单时间 ：</dd>
								<dd class="setting_p fl"><input class="seinp" type="text" name="title" value="">
									<!-- <span>产品名称不能为空</span> -->
								</dd>
							</li>

							<li>
								<dd class="setting_t fl"><span>*</span> 文章类别 ：</dd>
								<dd class="setting_p fl">
									<select  name="uid" id="uid" >

										<option value="1" >1</option>
										<option value="1" >1</option>

									</select>

								</dd>
							</li>



							<li>
								<dd class="setting_t fl"> &nbsp;</dd>
								<dd class="setting_p fl">

								<input  type="hidden" name="store_id" value="1">
								<input class="submit" type="submit" value="保存">

								</dd>
							</li>
						</ul>


					</div>
					</form>
			</div>
	</div>
 </script>

  <script>
  	if($('#is_lodding').attr('src')==''){
  		$('#is_lodding').hide();
  	}
  //异步上传图片
    //上传图片
   var oBtn = document.getElementById("J_dy_img");
    new AjaxUpload(oBtn,{
        action : "{:Url('Index/AjaxUpload_Layout')}",
        data:{name:'pic',pach:'news'},
        onSubmit:function(file,ext){
            if(ext && /^(jpg|jpeg|png)$/.test(ext)){
                //ext是后缀名
                $("#is_lodding").show();
                oBtn.disabled = "disabled";
            }else{  ;
                return false;
            }
        },
        onComplete:function(file,response){
            var res = JSON.parse(response);
            if(res.status == 1){

          	  $('#is_lodding').val('');//格式化路径
              $('#is_lodding').attr('src','');//格式化路径

              $('#is_lodding').attr('src',res.path);
              $('#is_pach').val(res.path);
              oBtn.disabled = false;
             }else{

                alert('上传图片过大，请重新上传');
                oBtn.disabled = false;
          }
        }
    });
</script>

</body>
</html>
